﻿using Microsoft.AspNetCore.Mvc.Filters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace WebAPITest.Filter
{
    public class ResourceFilter : IResourceFilter
    {
        /// <summary>
        /// 进行资源缓存和防盗链
        /// </summary>
        /// <param name="context"></param>
        public void OnResourceExecuted(ResourceExecutedContext context)
        {
            //执行后完成的操作throw new NotImplementedException();
        }

        public void OnResourceExecuting(ResourceExecutingContext context)
        {
            //执行中的过滤器管道throw new NotImplementedException();
        }
    }
}
